package com.leyou.auth.mapper;

import com.leyou.common.mapper.BaseMapper;
import com.leyou.search.pojo.Brand;
import org.apache.ibatis.annotations.Param;
import java.util.List;


public interface BrandMapper extends BaseMapper<Brand,Long> {

    int insertCategoryBrand(@Param("bid") Long id,@Param("cids") List<Long> cids);

    int deleteCategoryBrand(@Param("bid") Long id);

    int queryCountByBid(@Param("bid")Long id);

    List<Brand> queryBrandByCid(@Param("cid") Long cid);
}
